package com.bootdo.wx.service;

import com.bootdo.wx.domain.MemberAddressDO;
import com.bootdo.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 收货地址
 * 
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-03-19 16:39:23
 */
public interface MemberAddressService {
	
	MemberAddressDO get(String id);
	
	List<MemberAddressDO> list(Map<String, Object> map);

	List<MemberAddressDO> queryByUserId(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(MemberAddressDO memberAddress);
	int add(Map<String, Object> map);
	int change(Map<String, Object> map);
	R toDefault(Map<String, Object> map);

	int update(MemberAddressDO memberAddress);
	
	int remove(String id);
	
	int batchRemove(String[] ids);


}
